﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;

namespace NHINDirect
{
    public enum TrustError
    {
        Unexpected = 0,   
        UntrustedMessage,
        UntrustedSender,
        UnknownRecipient,
        MissingSenderSignature,
        MissingSenderCertificate,
        MissingRecipientCertificate,
        NoTrustedRecipients
    }
    
    public class TrustException : NHINDException<TrustError>
    {
        public TrustException(TrustError error)
            : base(error)
        {
        }
        
        public TrustException(TrustError error, Exception inner)
            : base(error, inner)
        {
        }
    }
}
